package com.niiwoo.civet.trade.service.dubbo.loan;

import com.alibaba.dubbo.config.annotation.Service;
import com.alibaba.fastjson.JSON;
import com.niiwoo.civet.trade.dto.request.loan.*;
import com.niiwoo.civet.trade.dto.response.loan.LoanConfigResDTO;
import com.niiwoo.civet.trade.dto.response.loan.LoanSubmitCommResDTO;
import com.niiwoo.civet.trade.enums.LoanLimitMessageEnum;
import com.niiwoo.civet.trade.enums.LoanSubmitTypeEnum;
import com.niiwoo.civet.trade.service.loan.LoanPreSubmitRecordDubboService;
import com.niiwoo.civet.trade.service.loan.LoanSubmitDubboService;
import com.niiwoo.civet.trade.service.local.loan.LoanPreSubmitRecordService;
import com.niiwoo.civet.trade.service.local.loan.submit.AbstractLoanSubmitService;
import com.niiwoo.civet.trade.service.local.loan.submit.LoanSubmitServiceFactory;
import com.niiwoo.tripod.provider.exception.BizException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.function.BiConsumer;

/**
 * @Author: wuke
 * @Description:
 * @Date: Created in 15:36 2018/4/14
 */
@Slf4j
@Service(version = "1.0.0", validation = "true")
public class LoanPreSubmitRecordDubboServiceImpl implements LoanPreSubmitRecordDubboService {
    @Autowired
    private LoanPreSubmitRecordService loanPreSubmitRecordService;

    public void loanPreSubmitRecordSave(LoanPreSubmitRecordSaveReqDTO reqDTO){
        loanPreSubmitRecordService.saveLoanPreSubmitRecord(reqDTO);
    }
}
